home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / catD / prefix.z / prefix
Encoding:
Text File  |  1998-10-30  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. pppprrrreeeeffffiiiixxxx((((DDDD1111))))                                                          pppprrrreeeeffffiiiixxxx((((DDDD1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_rrrr_eeee_ffff_iiii_xxxx - driver prefix
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _iiii_nnnn_tttt _p_r_e_f_i_x_cccc_llll_oooo_ssss_eeee_((((_))))_;;;;
  13.      _iiii_nnnn_tttt _p_r_e_f_i_x_oooo_pppp_eeee_nnnn_((((_))))_;;;;
  14.      _.... _.... _....
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Every driver must define a unique prefix.  This enables driver entry
  18.      points to be identified by configuration software and decreases the
  19.      possibility of global symbol collisions in the kernel.
  20.  
  21. UUUUSSSSAAAAGGGGEEEE
  22.      The prefix is usually specified in a configuration file.  The maximum
  23.      length of the prefix is implementation-defined.  Driver entry points
  24.      names are created by concatenating the driver prefix with the name for
  25.      the entry point.
  26.  
  27.    EEEExxxxaaaammmmpppplllleeeessss
  28.      An ETHERNET driver might use a driver prefix of ``_eeee_nnnn.''  It would define
  29.      the following entry points:  _eeee_nnnn_cccc_llll_oooo_ssss_eeee, _eeee_nnnn_iiii_nnnn_iiii_tttt, _eeee_nnnn_iiii_nnnn_tttt_rrrr, _eeee_nnnn_oooo_pppp_eeee_nnnn,
  30.       _eeee_nnnn_wwww_pppp_uuuu_tttt, _eeee_nnnn_rrrr_ssss_rrrr_vvvv, and _eeee_nnnn_wwww_ssss_rrrr_vvvv.  It would also define the data symbols
  31.      _eeee_nnnn_dddd_eeee_vvvv_ffff_llll_aaaa_gggg and _eeee_nnnn_iiii_nnnn_ffff_oooo.
  32.  
  33. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  34.      _dddd_eeee_vvvv_ffff_llll_aaaa_gggg(D1), _iiii_nnnn_ffff_oooo(D1), _cccc_llll_oooo_ssss_eeee(D2), _hhhh_aaaa_llll_tttt(D2), _iiii_nnnn_iiii_tttt(D2), _iiii_nnnn_tttt_rrrr(D2),
  35.      _iiii_oooo_cccc_tttt_llll(D2), _mmmm_mmmm_aaaa_pppp(D2), _oooo_pppp_eeee_nnnn(D2), _pppp_oooo_llll_llll(D2), _pppp_rrrr_iiii_nnnn_tttt(D2), _pppp_uuuu_tttt(D2), _rrrr_eeee_aaaa_dddd(D2),
  36.      _ssss_iiii_zzzz_eeee(D2), _ssss_rrrr_vvvv(D2), _ssss_tttt_aaaa_rrrr_tttt(D2), _ssss_tttt_rrrr_aaaa_tttt_eeee_gggg_yyyy(D2), _uuuu_nnnn_llll_oooo_aaaa_dddd(D2), _wwww_rrrr_iiii_tttt_eeee(D2)
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.